package com.snail.auth.entity;

import com.common.entity.IdEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "auth_system")
public class AuthSystem extends IdEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 是否目录结构 1是；0-否
     */
    @Column(name = "is_dir")
    private Integer isDir;
    @Column(length = 50)
    private String name;
    @Column(length = 32)
    private String parentId;
}
